package com.atguigu.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: 亚当
 * @date: 2022年07月03日 13:49
 * @package: com.atguigu.educms
 * @Description: TODO
 */
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.atguigu.educms.mapper")
@SpringBootApplication
@ComponentScan({"com.atguigu"})
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
    }
}
